#!/bin/sh 
#
cat > lnd.stdin << EOF
 &clm_inparm
 caseid         = 'clmrun'
 ctitle         = 'clmrun'
 finidat        = ' '
 fsurdat        = "$CSMDATA/lnd/clm2/surfdata/surfdata_64x128_c070501.nc"
 fatmgrid       = "$CSMDATA/lnd/clm2/griddata/griddata_64x128_060829.nc"
 fatmlndfrc     = "$CSMDATA/lnd/clm2/griddata/fracdata_64x128_USGS_070110.nc"
 fpftcon        = "$CSMDATA/lnd/clm2/pftdata/pft-physiology.c070207"
 frivinp_rtm    = "$CSMDATA/lnd/clm2/rtmdata/rdirc.05.061026"
 offline_atmdir = "$CSMDATA/lnd/clm2/NCEPDATA.Qian.T62.c051024"
 nrevsn         = "$nrevsn"
 nsrest         =  $restart_type
 nelapse        =  $run_length
 dtime          =  1800
 rtm_nsteps     =  2 
 start_ymd      =  20021231
 start_tod      =  0
 irad           = -1
 wrtdia         = .true.
 mss_irt        =  0
 hist_dov2xy    = .true.
 hist_nhtfrq    =  3
 hist_mfilt     =  1
 hist_ndens     =  1
 hist_crtinic   = 'YEARLY'
 brnch_retain_casename = .true.
 /
 &prof_inparm
 /
EOF

